package cc.jq1024.domain.award.service.distribute.impl;

import cc.jq1024.domain.award.model.entity.DistributeAwardEntity;
import cc.jq1024.domain.award.service.distribute.IDistributeAward;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * openai次数使用发奖
 * @author li--jiaqiang
 * @date 2024−07−24
 */
@Slf4j
@Service("openai_use_count")
public class OpenAiUserCountAward implements IDistributeAward {
    @Override
    public void giveOutPrizes(DistributeAwardEntity distributeAwardEntity) {
        log.info("openai次数使用发奖 - 用户:{} 奖品:{} 已发货 奖品配置:{}", distributeAwardEntity.getUserId(), distributeAwardEntity.getAwardId(), distributeAwardEntity.getAwardConfig());
    }
}